package com.yb.module.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yb.framework.core.base.BaseMapper;
import com.yb.framework.core.base.BaseServiceImpl;
import com.yb.module.system.domain.SysConfig;
import com.yb.module.system.mapper.SysConfigMapper;
import com.yb.module.system.service.SysConfigService;

@Service
public class SysConfigServiceImpl extends BaseServiceImpl<SysConfig> implements SysConfigService {
	
	@Autowired
	private SysConfigMapper sysConfigMapper;
	
	@Override
	protected BaseMapper<SysConfig> getMapper() {
		return sysConfigMapper;
	}

	@Override
	public String getValueByKey(String configKey) {
		// TODO Auto-generated method stub
		return sysConfigMapper.getValueByKey(configKey);
	}
}